home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 726-750 / 732 / fontviewer / fontviewer.doc < prev    next >
Text File  |  1995-03-18  |  9KB  |  130 lines

  1. Documentation for FontViewer Version 1.2.
  2.  
  3. Copyright 1992.
  4.  
  5. Gary Smith,
  6. Atelier Films,
  7. P.O. Box 550,
  8. Hamilton,
  9. Queensland,
  10. Australia, 4007.
  11.  
  12. 7-7-92.
  13.  
  14. FontViewer 1.2 may be used and distributed freely, provided that
  15.  
  16.     1. only a nominal copying fee is charged,
  17.     2. this file is included,
  18.     3. if FontViewer is included with other programs in a compilation disk or        set of disks, then a copy of these disk/s is sent to me.
  19.  
  20. FontViewer may not be used for any commercial purposes without express written permission.
  21.  
  22. FontViewer is yet another program to view fonts.
  23. Version 1.2 is an update of Version 1.1. The main change is to allow for some of the new Workbench 2.0 features.
  24.  
  25. Its main features are
  26.  
  27.     - low res, high res and interlace screen resolutions
  28.     - screen resolution can be changed while program is running
  29.     - up to thirty fonts can be viewed at one time
  30.     - each loaded font has its own window
  31.     - fonts can be viewed in Bold, Italic and Underline
  32.     - support for Workbench 2.0 Outline fonts
  33.     - support for ColorFonts
  34.     - adjustable palette for ColorFonts
  35.     - up to three lines of changeable text for viewing fonts
  36.     - screen resolution and font directory can be specified
  37.       by CLI parameters or Icon tooltypes
  38.     - Use file requester to find fonts to view (Workbench 2.0 only)
  39.  
  40.  
  41.  
  42. Installing FontViewer:
  43.  
  44.     All that is required is to drag the FontViewer icon into whatever drawer you wish it to be in - on either a hard or floppy disk. There are no other files needed for operation and no assigns are needed.
  45.     Double-click the FontViewer icon to run. If running from the CLI type the program name. CLI parameters and Icon tooltypes can be used to override default settings. These will be covered later. After starting the program, a control window will open on the Workbench screen and a separate screen will be opened for viewing the fonts on.
  46.  
  47.  
  48. Loading Fonts:
  49.  
  50.     On the right of the control window is a scroll box containing a list of the available fonts in the current fonts directory. The string gadget beside this box allows you to change to a new directory for fonts. If you are using Workbench 2.0, then clicking in the small "Disk" gadget to the left of the string gaget will bring up the standard ASL file requester where you can enter the name of the directory to search for fonts.
  51.     Click on one of the fonts in the list and a list of the available sizes in that font will appear. If you are using Workbench 2.0, then the top entry will be called "Other...". Clicking on this entry will bring up a string gadget where you can enter whatever size you wish. If the font you choose to load is an Outline font, and there are no bitmap sizes already created for that font, then a list of different sizes will be displayed, as well as the "Other..." choice. 
  52.     If you click on one of the sizes provided, or you enter a specific size, the font will be loaded in that size and displayed in a new window on the font viewing screen.
  53.     When a list of font sizes is displayed, the font directory string gadget changes to the 'List Fonts' gadget. Clicking on this gadget will relist the fonts.
  54.  
  55.    To remove a font from the font viewing screen, click on its window's close gadget.
  56.  
  57.    The font windows can be resized and repositioned anywhere on the font viewing screen. Clicking in a font window will bring it to the front and make it the active window.
  58.  
  59.    The font style (bold,italic,underline) of the active window can be changed by using the gadgets to the left of the font scroll box in the control window.
  60.  
  61.    The resolution of the font viewing screen can be changed by using the screen resolution gadgets in the middle of the control window.
  62.  
  63.    The font viewing screen can be moved to the top of the display by pressing the Up cursor key. It can be moved back down to its original position by pressing the Down cursor key. You can also use the mouse to drag the screen to any position you like.
  64.  
  65.     ColorFonts are supported. Load them as for any other font. If the number of colours in the ColorFont is greater than the number of colours in the font viewing screen, the screen will be changed accordingly. Each ColorFont that is loaded will have its own palette which will be displayed whenever its window is the active one. The palette of the active window can be altered by clicking on the 'Palette' gadget.
  66.  
  67.     The text that the fonts are displayed in can be altered by clicking on the 'Set Text' gadget. A window will appear with four preset text styles and a large string gadget where you can enter custom text. Click on one of the preset styles or the 'Custom' gadget if you want to enter your own. Up to three lines of text can be entered. Clicking on the 'Save Custom' gadget saves the custom text as a file called "s:FontViewer.text". When FontViewer runs, it checks to see if this file exists and loads it if it does. The five available text styles (four presets and one custom) are known as styles 0-4, reading from left to right. One of these styles can be specified as the startup one (this is covered later). The default style is number 1 - three lines of text, top one upper case, middle one lower case, and bottom one numerals.
  68.  
  69.  
  70. Assigning fonts:
  71.  
  72.     When you change the directory that you are loading fonts from, FontViewer does not change the Fonts: assign.
  73.     Under Workbench 1.2 or 1.3, this can lead to trouble when using floppy disk based systems, particularly if you only have one drive. This is because the disk that Fonts: is assigned to must be present in the system to load a font. In a single drive system, the Fonts: disk (usually your boot disk) and the disk containing the font you want to load can not be in the drive at the same time. To get around this, either
  74.  
  75.    1. rename the disk containing the font to "Fonts".
  76.    2. use the name of the disk, not the drive when specifying
  77.       the disk/directory eg "FontDisk1:fonts" not "DF0:fonts".
  78.    3. assign Fonts: to something that is always in the system
  79.       eg In a CLI window, type "assign fonts: ram:"
  80.  
  81.    Under Workbench 2.0, the assigned Fonts: directory does not have to be present in the system to load a standard Bitmap font. To load an Outline font however, the system needs to access files in the 'Fonts:_Bullet' directory, and will not create the font if they are not found. This should only cause problems if you are using a floppy disk based system, which is highly impractical with Outline fonts anyway.
  82.  
  83.  
  84. Iconify:
  85.  
  86.     Clicking on the 'Iconify' gadget will reduce FontViewer to a small icon on the Workbench screen.
  87.     Under Workbench 1.2/1.3, this icon will appear as a window title bar. To reactivate the program, click once on the title bar with the left mouse button (to make it active) and then click once with the right mouse button. If you click in the CloseWindow gadget, FontViewer will quit.
  88.     Under Workbench 2.0, the icon will be an AppIcon. This means that if you drop another icon on top of the FontViewer icon, the name of this icon will be used as the font directory to search, and FontViewer will reopen. If you double-click on the FontViewer icon, then FontViewer will reopen using the old font directory.
  89.  
  90.  
  91. Startup Options:
  92.  
  93.     FontViewer has several options that can be specified on the command line if using a CLI, or in the Icon tooltypes if using the Workbench.
  94.  
  95.     The default options are high resolution, non-interlace screen,
  96. text style 1, and font directory "Fonts:".
  97.  
  98.     These can be altered as follows.
  99.  
  100.     From CLI:
  101.  
  102.     -l         uses a low resolution screen
  103.     -i         turns interlace on
  104.     -t[number] uses text style [number]
  105.  
  106.     A string not beginning with any of the above will be treated as the font directory to be used.
  107.     The full pathname of this directory should be used.
  108.  
  109.     All of these commands are optional and can be in any order.
  110.  
  111.     eg FontViewer -l -i -t0 df0:fonts
  112.     will start FontViewer in a low resolution, interlace screen using the custom text (s:FontViewer.text) and search df0:fonts for fonts.
  113.  
  114.  
  115.     From Workbench:
  116.  
  117.     Change the tooltypes in the FontViewer icon.
  118.  
  119.     The following are the only options allowed and must be entered exactly as shown.
  120.  
  121.     SCREEN=LOW
  122.     INTERLACE=ON
  123.     TEXTSTYLE=<number>  where <number> is the number of the text style
  124.                         eg TEXTSTYLE=1
  125.     FONTDIR=<directory> where <directory> is the full path name of the
  126.                         required directory eg FONTDIR=df0:fonts
  127.  
  128.     If any of these options (either CLI or Workbench) are not present then the defaults will be used.
  129.  
  130.